﻿<cfcomponent>
<cfscript>
DB = 'chinalaohu';
dbt = 'user_userpwdvcode';
</cfscript>

<cffunction name="checkvcodecuts" access="remote" returntype="query" >
	<!---验证码是否过期--->
	<cfquery datasource="#DB#" name="checkvcodecuts">
  select *
  from #dbt#
  where mobile = '#mobile#' and cuts > UNIX_TIMESTAMP()-1800; 
  </cfquery>
  <cfreturn checkvcodecuts>
</cffunction>

  
</cfcomponent>